<?php
function executeQuery($conn, $sql)
{
    $result = mysqli_query($conn, $sql);
    return $result;
}

// 函数：关闭数据库连接
function closeConnection($conn)
{
    mysqli_close($conn);
}
